package com.ruoyi.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.framework.web.domain.FiltVo;
import com.ruoyi.framework.web.domain.excel.FileInfo;
import org.apache.tomcat.jni.File;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface IExcelService extends IService<FileInfo> {

    /**
     * 添加excel文件
     */
    AjaxResult add(MultipartFile file);

    /**
     * @Author GuoX
     * @Description 文件筛选
     * @Date 2023/6/12 9:53
     * @Param
     * @return
     **/
    AjaxResult filt(FiltVo vo);

    /**
     * @Description 删除文件
     * @Date 2023/6/14 16:53
     * @Param fileId
     **/
    AjaxResult remove(String[] fileId);

    /**
     * @Description 下载zip
     * @Date 2023/6/14 16:53
     * @Param fileId
     **/
    byte[]  download();

}
